EntityDAC
Returns the last element of the enumeration.
TObjectEnumerable<T>
function Last: T;
The function returns the last element of the enumeration. If the enumeration does not contain elements, the exception is raised.